<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:c="http://java.sun.com/jstl/core"
	  xmlns:sf="http://www.springframework.org/tags/faces"
	  contentType="text/html" encoding="UTF-8">
<html>
<f:loadBundle basename="org.nt4b.schemadoc.webgui.webgui_messages" var="msg"/>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>#{msg.header_text}</title>
	
	<sf:includeStyles/>
	<sf:resourceGroup>
		<sf:resource path="/css-framework/css/tools.css"/>
		<sf:resource path="/css-framework/css/typo.css"/>
		<sf:resource path="/css-framework/css/forms.css"/>
		<sf:resource path="/css-framework/css/layout-navtop-localleft.css"/>
		<sf:resource path="/css-framework/css/layout.css"/>
	</sf:resourceGroup>
	<sf:resource path="/styles/schemadoc.css"/>
	<ui:insert name="headIncludes"/>
</head>

<body class="tundra spring">
<div id="page">
	<div id="header" class="clearfix spring">
		<div id="welcome">
			<div class="left">#{msg.header_text}</div>
			<div class="right">
				<!-- 
				<c:if test="${not empty currentUser.name}">
	            	Welcome, ${currentUser.name} | <a href="${request.contextPath}/spring/logout">Logout</a>
				</c:if>
				<c:if test="${empty currentUser.name}">
	            		<a href="${request.contextPath}/spring/login">Login</a>
				</c:if>
            	-->
			</div>
		</div>
	</div>
	<div id="content" class="clearfix spring">
		<ui:insert name="content"/>
	</div>
	<div id="footer" class="clearfix spring">
		<a href="http://code.google.com/p/schemautils/">#{msg.footer_text}</a>
	</div>
</div>

<sf:resource path="/js/jquery.min.js"/>
<sf:resource path="/js/autoresize.jquery.js"/>
<sf:resource path="/js/autoresize.comment.js"/>

</body>
</html>
</f:view>